﻿using System;
using System.Collections.Generic;
using System.Text;
using ArrayUtilHelpV2;

namespace ArrayUtilHelpV2Test
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                byte[] _source = new byte[5] { 0x11, 0x22, 0x33, 0x44, 0x55 };
                byte[] _compare = new byte[5] { 0x11, 0x22, 0x33, 0x44, 0x55 };
                Console.WriteLine(string.Format("ArrayTool.Equals==>{0}", ArrayToolV2.Equals(_source, _compare)));
                byte[] _demosNew = ArrayToolV2.Copy<byte>(_source, 1, 2);
                int[] aa = new int[5] { 1, 2, 3, 4, 5 };
                int[] bb = ArrayToolV2.Copy<int>(aa, 1, 2);
                ArrayToolV2.Reverse(_source, 0, 5);
                Console.ReadLine();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message.Trim());
            }
            finally
            {
                Console.ReadLine();
            }
        }
    }
}
